package vo;

import java.util.HashSet;
import java.util.Set;

/**
 * Role entity. @author MyEclipse Persistence Tools
 */

public class Role implements java.io.Serializable {

	// Fields

	private Integer id;
	private String role;
	private String description;
	private String available;
	private Set roleUsers = new HashSet(0);
	private Set resourceRoles = new HashSet(0);

	// Constructors

	/** default constructor */
	public Role() {
	}

	/** minimal constructor */
	public Role(String role, String available) {
		this.role = role;
		this.available = available;
	}

	/** full constructor */
	public Role(String role, String description, String available,
			Set roleUsers, Set resourceRoles) {
		this.role = role;
		this.description = description;
		this.available = available;
		this.roleUsers = roleUsers;
		this.resourceRoles = resourceRoles;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRole() {
		return this.role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getAvailable() {
		return this.available;
	}

	public void setAvailable(String available) {
		this.available = available;
	}

	public Set getRoleUsers() {
		return this.roleUsers;
	}

	public void setRoleUsers(Set roleUsers) {
		this.roleUsers = roleUsers;
	}

	public Set getResourceRoles() {
		return this.resourceRoles;
	}

	public void setResourceRoles(Set resourceRoles) {
		this.resourceRoles = resourceRoles;
	}

}